#ifndef __WATCHPOINT_H__
#define __WATCHPOINT_H__

#include "common.h"

typedef struct watchpoint {
	int NO;
	struct watchpoint *next;
	uint32_t val;
	uint32_t eval;
	bool check_eval;
	char exp[32];

	/* TODO: Add more members if necessary */


} WP;
WP *new_wp();
void free_wp(WP *wp);
bool test_expression();
void info_w();
WP *find_wp(int n);
#endif
